package com.fly.estore.dao;

import com.fly.estore.domain.SaleDetail;

import java.util.List;

/**
 * Created by Fly on 2016/4/28.
 */
public interface SaleDetailDAO {

    public int addSaleDetail(SaleDetail detail);

    public int updateSaleDetail(SaleDetail detail);

    public int deleteById(String saleDetailId);

    public int deleteBySaleId(String saleId);

    public SaleDetail getById(String saleDetailId);

    public List<SaleDetail> getBySaleId(String saleId);

}
